/**  
 * 
 * @Title:  JdkSerialize.java   
 * @Package com.org.framework.net.serialize   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: 123774135@qq.com     
 * @date:   2018年7月5日 下午3:51:11   
 * @version V1.0 
 * @Copyright: 2018 www.tydic.com Inc. All rights reserved. 
 * 
 */  
package com.bicon.base.data.common.net.serialize;

import org.springframework.util.SerializationUtils;

/**   
 * @ClassName:  JdkSerialize   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: 123774135@qq.com 
 * @date:   2018年7月5日 下午3:51:11   
 *     
 * @Copyright: 2018 
 * 
 */
public class JdkSerialize implements SerializeFactory{

	
	@Override
	public byte[] serialize(Object object) {
		return SerializationUtils.serialize(object);
	}

	@Override
	public Object deserialize(byte[] by) {
		return SerializationUtils.deserialize(by);
	}

}
